GUI Help
> setSelText
setSelText
setSelText
handle gadget, string text
Replaces the selected text in an edit gadget. Text can be set in code using setSelStart and setSelLen, and then replaced using setSelText.
Parameters:
gadget
  
Handle of an edit or richedit gadget
text
  
The new text which will replace the currently selected text.